/**
 * @Description: 聚焦
 * @Author bianpengfei
 * @create 2022/11/25 18:19
 */
export default {
  /**
   * @param {HTMLElement} el
   * @param {Object} binding
   */
  // eslint-disable-next-line no-unused-vars
  mounted(el, binding) {
    setTimeout(() => {
      if (el.nodeType === Node.ELEMENT_NODE) {
        const inputDOM = el.querySelector('input')
        inputDOM && inputDOM.focus()
        console.log('foucs', el, inputDOM)
      }
    })
  }
}
